package com.yuandian.management.controller;

import com.yuandian.bpm.common.core.util.R;
import com.yuandian.bpm.common.security.util.SecurityUtils;
import com.yuandian.management.service.ConfDeviceInfoService;
import com.yuandian.management.service.IAgentIpService;
import com.yuandian.management.vo.AgentConfigManager;
import com.yuandian.management.vo.AgentIpPojo;
import com.yuandian.management.vo.AgentIpVo;
import com.yuandian.utils.StringUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * agentip管理表 前端控制器
 * </p>
 *
 * @author lishilei
 * @since 2023-06-09
 */
@RestController
@Api(tags = "设备信息管理")
@RequestMapping("/device")
public class ConfDeviceInfoController {
	@Autowired
    private ConfDeviceInfoService confDeviceInfoService;

	/**
	 * 获取基础设施的信息(设备)
	 * @return
	 */
	@GetMapping("getDeviceInfo")
	public R getDeviceInfo(){
		return confDeviceInfoService.getDeviceInfo();
	}

}



